package com.eportal.domain;

import java.io.Serializable;
import java.util.Date;

/**
 *
 * @author chipumin
 *
 */
public class TCommodity implements Serializable {


	private static final long serialVersionUID = 1L;


	private Long sId;
	private String cname;//商品名称
	private Long stock;//库存
	private Long remainstock;//剩余库存
	private String photo;//商品图片（大图)
	private String attrphoto;//商品图片（小图)
	private String status;//状态（0/1/2 : 新增/上架/下架）
	private Date ctime;//创建时间
	private Date activetime;//上架时间
	private String optid;
	private String ownerid;
	private String attribute1;//备用字段
	private String attribute2;//备用字段
	public Long getsId() {
		return sId;
	}
	public void setsId(Long sId) {
		this.sId = sId;
	}
	public String getCname() {
		return cname;
	}
	public void setCname(String cname) {
		this.cname = cname;
	}
	public Long getStock() {
		return stock;
	}
	public void setStock(Long stock) {
		this.stock = stock;
	}

	public Long getRemainstock() {
		return remainstock;
	}
	public void setRemainstock(Long remainstock) {
		this.remainstock = remainstock;
	}
	public String getPhoto() {
		return photo;
	}
	public void setPhoto(String photo) {
		this.photo = photo;
	}
	public String getAttrphoto() {
		return attrphoto;
	}
	public void setAttrphoto(String attrphoto) {
		this.attrphoto = attrphoto;
	}
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}
	public Date getCtime() {
		return ctime;
	}
	public void setCtime(Date ctime) {
		this.ctime = ctime;
	}
	public Date getActivetime() {
		return activetime;
	}
	public void setActivetime(Date activetime) {
		this.activetime = activetime;
	}
	public String getOptid() {
		return optid;
	}
	public void setOptid(String optid) {
		this.optid = optid;
	}
	public String getAttribute1() {
		return attribute1;
	}
	public void setAttribute1(String attribute1) {
		this.attribute1 = attribute1;
	}
	public String getAttribute2() {
		return attribute2;
	}
	public void setAttribute2(String attribute2) {
		this.attribute2 = attribute2;
	}
	public String getOwnerid() {
		return ownerid;
	}
	public void setOwnerid(String ownerid) {
		this.ownerid = ownerid;
	}



}
